package com.powernode.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.powernode.domain.Prod;

import java.util.List;

/**
 * @create: 2024/7/24
 * @author: gyhe10
 * @description:
 **/

public interface SearchService {

    /**
     * 根据分组标签id分页查询商品列表
     * @param tagId
     * @param current
     * @param size
     * @return
     */
    Page<Prod> queryProdPageByTagId(Long tagId, Long current, Long size);

    /**
     * 根据商品类目id查询商品集合
     * @param categoryId
     * @return
     */
    List<Prod> queryWxProdListByCategoryId(Long categoryId);
}
